package com.emep.changzhi.analyse.entity.information;

import lombok.Data;
import org.hibernate.annotations.GenericGenerator;

import javax.persistence.*;
import java.io.Serializable;

/**
 * @author yangj
 * @version V1.0
 * @Description: 报警配置表
 * @date 2018/2/28  15:15
 */
@Data
@Table(name = "sys_Prompt_config")
@Entity
public class SysPromptConfig implements Serializable{

    private static final long serialVersionUID = -5635334651817779275L;

    @Id
    @GenericGenerator(name = "system-uuid" , strategy = "uuid")
    @GeneratedValue(generator = "system-uuid")
    private String id;

    @Column(name = "equipment_id",columnDefinition="varchar(100) COMMENT '设备id'" )
    private String equipmentId ;

    @Column(name = "create_user_id",columnDefinition="varchar(100) COMMENT '创建人id'" )
    private String createUserId ;

    @Column(name = "sendee_name",columnDefinition="varchar(100) COMMENT '接受人名字'" )
    private String sendeeName ;

    @Column(name = "mail_id",columnDefinition="varchar(100) COMMENT '通讯录id'" )
    private String mailId ;

    @Column(name = "data_status",columnDefinition="varchar(100) COMMENT '数据状态'" )
    private String dataStatus ;

    @Column(name = "is_delete",columnDefinition="varchar(100) COMMENT '是否删除'" )
    private String isDelete = "0" ;

    @Column(name = "time_count",columnDefinition="varchar(100) COMMENT '时间段'" )
    private String timeCount;

    @Column(name = "create_date",columnDefinition="varchar(100) COMMENT '录入时间'" )
    private String createDate = String.valueOf(System.currentTimeMillis());



}
